package pack1021.interface3;

public class App {
    public static void main(String[] args) {
        Print print = new Print();
        Teacher teacher = new Teacher("张三");
        School school = new School("李四",print);
        Student student = new Student();
        school.print(student);
    }
}